package stud.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import stud.aistar.entity.Doctorlogin;

import java.util.List;

/**
 *
 * @ClassName :wangyu
 * @Description :医生登录查询
 * @Author
 * @Date2019/9/27 23:53
 * @Version V1.0
 */
public interface DoctorLoginMapper {

    @Select("Select * from doctorlogin where worknum = #{ worknum }")
    Doctorlogin findByWorknum(String worknum);

    @Select("Select * from doctorlogin")
    List<Doctorlogin> findAll();

}
